package com.ruoyi.production.service.regulator;

import java.util.List;
import com.ruoyi.production.domain.regulator.RegulatorPurchase;

/**
 * 调节剂购买信息Service接口
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public interface IRegulatorPurchaseService
{
    /**
     * 查询调节剂购买信息
     *
     * @param regulatorPurchaseId 调节剂购买信息ID
     * @return 调节剂购买信息
     */
    public RegulatorPurchase selectRegulatorPurchaseById(Long regulatorPurchaseId);

    /**
     * 查询调节剂购买信息列表
     *
     * @param regulatorPurchase 调节剂购买信息
     * @return 调节剂购买信息集合
     */
    public List<RegulatorPurchase> selectRegulatorPurchaseList(RegulatorPurchase regulatorPurchase);

    /**
     * 新增调节剂购买信息
     *
     * @param regulatorPurchase 调节剂购买信息
     * @return 结果
     */
    public int insertRegulatorPurchase(RegulatorPurchase regulatorPurchase);

    /**
     * 修改调节剂购买信息
     *
     * @param regulatorPurchase 调节剂购买信息
     * @return 结果
     */
    public int updateRegulatorPurchase(RegulatorPurchase regulatorPurchase);

    /**
     * 批量删除调节剂购买信息
     *
     * @param regulatorPurchaseIds 需要删除的调节剂购买信息ID
     * @return 结果
     */
    public int deleteRegulatorPurchaseByIds(Long[] regulatorPurchaseIds);

    /**
     * 删除调节剂购买信息信息
     *
     * @param regulatorPurchaseId 调节剂购买信息ID
     * @return 结果
     */
    public int deleteRegulatorPurchaseById(Long regulatorPurchaseId);

    /**
     * 插入调节剂购买表更新调节剂量表
     * @param regulatorPurchase
     * @return
     */
    public int insertPurchaseUpdateAmount(RegulatorPurchase regulatorPurchase);

}
